package by.grsu.samusev.table;

import java.util.ArrayList;
import java.util.List;

import com.epam.grsulab.webapi.table.AbstractTable;

import by.grsu.samusev.entity.Car;

public class CarTable extends AbstractTable<Car>  {
	private List<Car> cars ;
	@Override
	public List<Car> getRows() {
		if (cars == null) {
			cars = new ArrayList<Car>();
		}
		return cars;
	}

	@Override
	public void setRows(List<Car> rows) {
		this.cars = rows;
	}
}
